View Javadoc
1 /* 2 * Angkor Web Framework 3 * 4 * Distributable under LGPL license. 5 * See terms of license at gnu.org. 6 */ 7 8 package com.tirsen.angkor; 9 10 import java.io.IOException; 11 12 /*** 13 * An empty view, you can't see it, you can't touch it, you can't smell it, it doesn't exist. 14 * 15 * <!-- $Id: EmptyView.java,v 1.4 2002/10/13 13:37:26 tirsen Exp $ --> 16 * <!-- $Author: tirsen $ --> 17 * 18 * @author Jon Tirs´n (tirsen@users.sourceforge.net) 19 * @version $Revision: 1.4 $ 20 */ 21 public class EmptyView implements View 22 { 23 public static final View EMPTY_VIEW = new EmptyView(); 24 25 public boolean isVisible() 26 { 27 return false; 28 } 29 30 public void setVisible(boolean visible) 31 { 32 } 33 34 public boolean isParsing() 35 { 36 return false; 37 } 38 39 public String uniqueId(RenderContext context) 40 { 41 return null; 42 } 43 44 public View getContainer() 45 { 46 return null; 47 } 48 49 public void setContainer(View container) 50 { 51 // do nothing, it's the empty view remember 52 } 53 54 public void render(RenderContext context) throws IOException 55 { 56 // do nothing, it's the empty view remember 57 } 58 59 public void parse(RenderContext context) 60 { 61 // do nothing, it's the empty view remember 62 } 63 }

This page was automatically generated by Maven